
module("NetWork.Action.NewMsgSmAction ", package.seeall)

local NetCmdActionBase = require("NetWork.Action").NetCmdActionBase

NewMsgSmAction = NetCmdActionBase:new()

function NewMsgSmAction:Action(bytes)
    local newMsgSm = require("Protol.commonMessage_pb").MessageCast()
    newMsgSm:ParseFromString(bytes)
    local ClubModule = require("Module.ClubModule").ClubModule
    ClubModule.updateNewMsg(newMsgSm)
end

require("NetWork.NetCmdSet").CmdSet[2105] = NewMsgSmAction --注册处理对象